//
//  PhotoCell.m
//  OGL
//
//  Created by ZengYuan on 15/3/18.
//  Copyright (c) 2015年 ZengYuan. All rights reserved.
//

#import "PhotoCell.h"
#import "Config.h"

@implementation PhotoCell

- (void)awakeFromNib {
    // Initialization code
//    
//    CGRect rec = self.photoImgView.frame;
//    rec.size.width = rec.size.height;
//    self.photoImgView.frame=rec;
//    
//    translatesAutoresizingMaskIntoConstraints = YES
    
//    float r = (80*VECTOR_IPHONE6 - 10*2)/2;
    
    self.photoImgView.contentMode = UIViewContentModeScaleAspectFill;

    self.photoImgView.layer.cornerRadius =  6;
    
    self.photoImgView.layer.masksToBounds=YES;
    self.photoImgView.layer.borderColor  =RGB(235, 235, 235).CGColor;
    self.photoImgView.layer.borderWidth  =0.5;
    
//    self.nameLabel.textColor = MAIN_TEXT_COLOR;
    
//    self.editInfoLabel.textColor = HexRGB(0xf16d87);
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
